package com.shortvedio.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shortvedio.base.model.po.VideosAbout;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface VideosAboutMapper extends BaseMapper<VideosAbout> {

    @Update("UPDATE videos_about SET look_count=#{lookCount} from videos_id = #{videosId}")
    public void updateLookCount(@Param("lookCount") Integer lookCount,@Param("videosId")Long videosId);//更行观看数量

}
